package com.walkline.weibo.dao;

import org.json.me.JSONObject;
import com.walkline.weibo.WeiboException;
import com.walkline.weibo.WeiboSDK;
import com.walkline.weibo.inf.Account;

public class WeiboAccount extends WeiboObject implements Account
{
	private String _userId = "";

	public WeiboAccount(WeiboSDK weibo, JSONObject jsonObject) throws WeiboException
	{
		super(weibo, jsonObject);

		JSONObject account = jsonObject;
		if (account != null)
		{
			_userId = account.optString("uid");
		}
	}

	public String getUserId() {return _userId;}
}